#pragma once
#include <d3d9.h>
#include <d3dx9.h>

class DXG
{
private:
	static LPDIRECT3D9 s_pDirectX3D9;
	static LPDIRECT3DDEVICE9 s_pD3DDevice9;
	static HWND s_hWnd;

	DXG(void) {}
	DXG(DXG&) {}
public:
	virtual ~DXG(void) {}

	static UINT s_nWidth;
	static UINT s_nHeight;
	static FLOAT s_fAspect;

	static HRESULT Init(HWND);
	static VOID Release(VOID);

	static const LPDIRECT3DDEVICE9 GetD3DDevice() { return s_pD3DDevice9; }
};
